package com.kaiyiweitong.tongxing.activity.my;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.widget.GridLayout;

import com.kaiyiweitong.tongxing.R;
import com.kaiyiweitong.tongxing.base.ClassifyHorAdapter;
import com.kaiyiweitong.tongxing.base.BaseActivity;

/**
 * Created by Administrator on 2017/12/17 0017.
 */

public class AboutUsActivity extends BaseActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about_us);

        RecyclerView rv_about_us=(RecyclerView)findViewById(R.id.rv_about_us);
        rv_about_us.setLayoutManager(new GridLayoutManager(this,1, GridLayout.HORIZONTAL,false));
        ClassifyHorAdapter classifyHorAdapter = new ClassifyHorAdapter(this);
        rv_about_us.setAdapter(classifyHorAdapter);
    }
}
